package com.example.administrator.babymusic.ui.activity;

import android.app.ProgressDialog;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

/**
 * Created by Administrator on 2016/11/1 0001.
 */

public abstract class BaseActivity extends AppCompatActivity {
    //protected ProgressDialog progressDialog;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getLayout());
       // progressDialog = new ProgressDialog(this);
        initView();
    }
    public  abstract int getLayout();
    protected void initView(){

    }

}